import request from '@/utils/request'

export function addProvideTask(data) {
  return request({
    url: '/tiktok_task/addProvideTask',
    method: 'post',
    data
  })
}

export function getTaskList(params) {
  return request({
    url: '/tiktok_task/getList',
    method: 'get',
    params
  })
}

export function getTaskById(params) {
  return request({
    url: '/tiktok_task/getTaskById',
    method: 'get',
    params
  })
}
